

public class FightCorridor extends Command {

	/** 
	 * @uml.property name="aCorridor"
	 * @uml.associationEnd multiplicity="(1 1)" inverse="fightCorridor:ACorridor"
	 */
	private ACorridorAndRoom aCorridorAndRoom = null;
	public FightCorridor(ACorridorAndRoom aCorridorAndRoom){
		this.aCorridorAndRoom=aCorridorAndRoom;
	}	
	public void execute(){
		aCorridorAndRoom.fight();
	}
	/** 
	 * Getter of the property <tt>aCorridor</tt>
	 * @return  Returns the aCorridor.
	 * @uml.property  name="aCorridor"
	 */
	public ACorridorAndRoom getACorridor() {
		return aCorridorAndRoom;
	}

	/** 
	 * Setter of the property <tt>aCorridor</tt>
	 * @param aCorridorAndRoom  The aCorridor to set.
	 * @uml.property  name="aCorridor"
	 */
	public void setACorridor(ACorridorAndRoom aCorridorAndRoom) {
		this.aCorridorAndRoom = aCorridorAndRoom;
	}
	

}
